package com.wealth.scsj.p_app.view.activity.depositmodel;

import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.TextView;

import com.wealth.scsj.p_app.R;
import com.wealth.scsj.p_app.view.activity.BaseActivity;

/**
 * 押金退款页面
 * @author qxp
 */
public class ReturnDepositProgressPageActivity extends BaseActivity implements View.OnClickListener {

    private TextView mToolbarTitle;
    private ImageView mToolbarTitleLeft;
    /**
     * 300
     */
    private TextView mDepositMoneyNumberTv;
    /**
     * 押金权益：1、无限制接收订单；2、享受###优惠权益等。
     */
    private TextView mDepositReturnDescriptionTv;
    /**
     * 查看详情
     */
    private Button mLookDetailsBtn;

    @Override
    protected void createView(Bundle savedInstanceState) {
        setContentView(R.layout.activity_return_deposit_progress_page);
    }

    @Override
    protected void initView() {

        mToolbarTitle = findViewById(R.id.toolbar_title);
        mToolbarTitleLeft =  findViewById(R.id.toolbar_title_left);

        mDepositMoneyNumberTv = findViewById(R.id.deposit_money_number_tv);
        mDepositReturnDescriptionTv = findViewById(R.id.deposit_return_description_tv);
        mLookDetailsBtn =  findViewById(R.id.look_details_btn);

    }

    @Override
    protected void initListener() {
        mLookDetailsBtn.setOnClickListener(this);
        mToolbarTitleLeft.setOnClickListener(this);
    }

    @Override
    protected void initData() {
        mToolbarTitle.setText("退押金进度");
    }

    @Override
    public void onClick(View v) {
        switch (v.getId()) {
            default:
                break;
            case R.id.toolbar_title_left:
                finish();
                break;
            case R.id.look_details_btn:
                break;
        }
    }
}
